package cn.credit.loan.dao.staging;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.github.abel533.mapper.Mapper;

import cn.credit.loan.entity.Staging;
/**
 * 分期期数Dao层---Mapper接口
 * @author LI
 *
 */
public interface StagingMapper  extends Mapper<Staging>{
	/**
	 * 查看所有的分期期数列表
	 * @return
	 */
	public List<Staging> getStaging();
	
	/**
	 * 根据分期期数，来查询分期期数信息、ID
	 * @param stagByNumber
	 * @return
	 */
	public Staging getStagingByStagByNumber(@Param("stagByNumber")String stagByNumber);
	
	/**
	 * 添加分期期数
	 * @param staging
	 * @return
	 */
	public int addByNumber(Staging staging);
}
